import axios from 'axios';

let instance = axios.create({
  baseURL: 'http://127.0.0.1:5000',
  timeout: 20000, // 超时设置为20秒
  headers: {
    'Content-Type': 'application/json',
  },
});

export {instance}